/*
 * TipP 组件
 * 用来存放重要提示，比如面试题中的重点
 */
import React, { ReactNode } from 'react';
import '../styles/TipP.less';

interface Props {
  children?: ReactNode;
}

const TipP = (props: Props) => {
  return (
    <div className="tipP">
      <p className="tipPTag">
        Tips: [ <span className="tipTagspan">{props.children}</span> ]
      </p>
    </div>
  );
};

export default TipP;
